package com.itheima.mapper;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.Student;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    /**
     * 扣分功能
     * @param warpper
     * @param score
     */
    void updateScore(@Param("ew") LambdaUpdateWrapper<Student> warpper,@Param("score") Integer score);
}
